Skip to content

Conversation

@rukai
Copy link
Collaborator

@rukai rukai commented Oct 15, 2024

This PR replaces the incredibly generic "failed to encode" error with a more specific "A field is set that is not available on the selected protocol version" error.

While it might be possible to put more detail into the error, I've intentionally kept it simple to keep build time and binary size down.

Lets land this before #95

@rukai rukai force-pushed the improve_error_handling_on_version_violation branch from 0bfe79c to 5fa0fa3 Compare October 15, 2024 01:58
@rukai rukai marked this pull request as ready for review October 15, 2024 02:03
Copy link
Owner

@tychedelia tychedelia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Huge improvement lol.

@tychedelia tychedelia merged commit 523b313 into tychedelia:main Oct 15, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants